BEGIN{
	vocab["="] = 1;
	vocab["TEST"] = 2;
	vocab["REL_OP"] = 3;
	vocab["C_DEFUN"] = 4;
	vocab["_fbss"] = 5;
	vocab["_fdata"] = 6;
	vocab["_ftext"] = 7;
	vocab["_procedure_string_table"] = 8;
	vocab["_procedure_table"] = 9;
	vocab["_procedure_table_size"] = 10;
	vocab["a64l"] = 11;
	vocab["abort"] = 12;
	vocab["abs"] = 13;
	vocab["accept"] = 14;
	vocab["access"] = 15;
	vocab["acct"] = 16;
	vocab["acos"] = 17;
	vocab["acosh"] = 18;
	vocab["addmntent"] = 19;
	vocab["aint"] = 20;
	vocab["alarm"] = 21;
	vocab["asm"] = 22;
	vocab["asctime"] = 23;
	vocab["asin"] = 24;
	vocab["asinh"] = 25;
	vocab["assert"] = 26;
	vocab["async_daemon"] = 27;
	vocab["atan"] = 28;
	vocab["atan2"] = 29;
	vocab["atanh"] = 30;
	vocab["atof"] = 31;
	vocab["atoi"] = 32;
	vocab["atol"] = 33;
	vocab["bind"] = 34;
	vocab["break"] = 35;
	vocab["brk"] = 36;
	vocab["bsearch"] = 37;
	vocab["byteorder"] = 38;
	vocab["cabs"] = 39;
	vocab["cachectl"] = 40;
	vocab["cacheflush"] = 41;
	vocab["calloc"] = 42;
	vocab["case"] = 43;
	vocab["cbrt"] = 44;
	vocab["ceil"] = 45;
	vocab["chdir"] = 46;
	vocab["chmod"] = 47;
	vocab["chown"] = 48;
	vocab["chroot"] = 49;
	vocab["clearerr"] = 50;
	vocab["close"] = 51;
	vocab["closedir"] = 52;
	vocab["connect"] = 53;
	vocab["continue"] = 54;
	vocab["copysign"] = 55;
	vocab["cos"] = 56;
	vocab["cosh"] = 57;
	vocab["creat"] = 58;
	vocab["crypt"] = 59;
	vocab["ctermid"] = 60;
	vocab["ctime"] = 61;
	vocab["ctype"] = 62;
	vocab["curse"] = 63;
	vocab["cuserid"] = 64;
	vocab["dblef"] = 65;
	vocab["default"] = 66;
	vocab["dexp"] = 67;
	vocab["dial"] = 68;
	vocab["disassembler"] = 69;
	vocab["do"] = 70;
	vocab["drand48"] = 71;
	vocab["drem"] = 72;
	vocab["dup"] = 73;
	vocab["dup2"] = 74;
	vocab["ecvt"] = 75;
	vocab["edata"] = 76;
	vocab["else"] = 77;
	vocab["emulate_branch"] = 78;
	vocab["encrypt"] = 79;
	vocab["end"] = 80;
	vocab["endhostent"] = 81;
	vocab["endmntent"] = 82;
	vocab["endnetent"] = 83;
	vocab["endprotoent"] = 84;
	vocab["endpwent"] = 85;
	vocab["endservent"] = 86;
	vocab["endutent"] = 87;
	vocab["eprol"] = 88;
	vocab["erand48"] = 89;
	vocab["erf"] = 90;
	vocab["erfc"] = 91;
	vocab["etext"] = 92;
	vocab["ether_aton"] = 93;
	vocab["ether_atony"] = 94;
	vocab["ether_hostton"] = 95;
	vocab["ether_hosttony"] = 96;
	vocab["ether_line"] = 97;
	vocab["ether_liney"] = 98;
	vocab["ether_ntoa"] = 99;
	vocab["ether_ntoay"] = 100;
	vocab["ether_ntohost"] = 101;
	vocab["ether_ntohosty"] = 102;
	vocab["ethers"] = 103;
	vocab["ethersy"] = 104;
	vocab["exe"] = 105;
	vocab["execl"] = 106;
	vocab["execle"] = 107;
	vocab["execlp"] = 108;
	vocab["execv"] = 109;
	vocab["execve"] = 110;
	vocab["execvp"] = 111;
	vocab["exit"] = 112;
	vocab["exp"] = 113;
	vocab["expm1"] = 114;
	vocab["extern"] = 115;
	vocab["fabs"] = 116;
	vocab["fchmod"] = 117;
	vocab["fchown"] = 118;
	vocab["fclose"] = 119;
	vocab["fcntl"] = 120;
	vocab["fcvt"] = 121;
	vocab["fdopen"] = 122;
	vocab["feof"] = 123;
	vocab["ferror"] = 124;
	vocab["fflush"] = 125;
	vocab["fgetc"] = 126;
	vocab["fgetgrent"] = 127;
	vocab["fgetpwent"] = 128;
	vocab["fgets"] = 129;
	vocab["fileno"] = 130;
	vocab["finite"] = 131;
	vocab["floor"] = 132;
	vocab["flush"] = 133;
	vocab["fopen"] = 134;
	vocab["for"] = 135;
	vocab["fpc"] = 136;
	vocab["fp_class"] = 137;
	vocab["fpgetmask"] = 138;
	vocab["fpgetround"] = 139;
	vocab["fpgetsticky"] = 140;
	vocab["fpi"] = 141;
	vocab["fprintf"] = 142;
	vocab["fpsetmask"] = 143;
	vocab["fpsetround"] = 144;
	vocab["fpsetsticky"] = 145;
	vocab["fputc"] = 146;
	vocab["fputs"] = 147;
	vocab["fread"] = 148;
	vocab["free"] = 149;
	vocab["freopen"] = 150;
	vocab["frexp"] = 151;
	vocab["fscanf"] = 152;
	vocab["fseek"] = 153;
	vocab["fstat"] = 154;
	vocab["fstatf"] = 155;
	vocab["ftell"] = 156;
	vocab["ftruncate"] = 157;
	vocab["ftw"] = 158;
	vocab["fwrite"] = 159;
	vocab["gamma"] = 160;
	vocab["gcvt"] = 161;
	vocab["getc"] = 162;
	vocab["getcwd"] = 163;
	vocab["getdents"] = 164;
	vocab["getegid"] = 165;
	vocab["getenv"] = 166;
	vocab["geteuid"] = 167;
	vocab["getgid"] = 168;
	vocab["getgrent"] = 169;
	vocab["getgrgid"] = 170;
	vocab["getgrnam"] = 171;
	vocab["gethostbyaddr"] = 172;
	vocab["gethostbyname"] = 173;
	vocab["gethostent"] = 174;
	vocab["gethostid"] = 175;
	vocab["gethostname"] = 176;
	vocab["getitimer"] = 177;
	vocab["getlog"] = 178;
	vocab["getlogin"] = 179;
	vocab["getmntent"] = 180;
	vocab["getmsg"] = 181;
	vocab["getnetbyaddr"] = 182;
	vocab["getnetbyname"] = 183;
	vocab["getnetent"] = 184;
	vocab["getopt"] = 185;
	vocab["getpagesize"] = 186;
	vocab["getpass"] = 187;
	vocab["getpeername"] = 188;
	vocab["getpgrp"] = 189;
	vocab["getpid"] = 190;
	vocab["getppid"] = 191;
	vocab["getprotobyname"] = 192;
	vocab["getprotobynumber"] = 193;
	vocab["getprotoent"] = 194;
	vocab["getpw"] = 195;
	vocab["getpwent"] = 196;
	vocab["getpwnam"] = 197;
	vocab["getpwuid"] = 198;
	vocab["getrpcbynamey"] = 199;
	vocab["getrpcbynumbery"] = 200;
	vocab["getrpcenty"] = 201;
	vocab["getservbyname"] = 202;
	vocab["getservbyport"] = 203;
	vocab["getservent"] = 204;
	vocab["getsockname"] = 205;
	vocab["getsockopt"] = 206;
	vocab["gets"] = 207;
	vocab["getuid"] = 208;
	vocab["getut"] = 209;
	vocab["getutent"] = 210;
	vocab["getutid"] = 211;
	vocab["getutline"] = 212;
	vocab["getws"] = 213;
	vocab["gmtime"] = 214;
	vocab["goto"] = 215;
	vocab["gsignal"] = 216;
	vocab["hasmntopt"] = 217;
	vocab["hcreate"] = 218;
	vocab["hdestroy"] = 219;
	vocab["hsearch"] = 220;
	vocab["htonl"] = 221;
	vocab["htons"] = 222;
	vocab["hypot"] = 223;
	vocab["if"] = 224;
	vocab["index"] = 225;
	vocab["inet"] = 226;
	vocab["inet_addr"] = 227;
	vocab["inet_lnaof"] = 228;
	vocab["inet_makeaddr"] = 229;
	vocab["inet_netof"] = 230;
	vocab["inet_network"] = 231;
	vocab["inet_ntoa"] = 232;
	vocab["intro"] = 233;
	vocab["ioctl"] = 234;
	vocab["isalnum"] = 235;
	vocab["isalpha"] = 236;
	vocab["isascii"] = 237;
	vocab["isatty"] = 238;
	vocab["iscntrl"] = 239;
	vocab["isdigit"] = 240;
	vocab["isgraph"] = 241;
	vocab["islower"] = 242;
	vocab["isnan"] = 243;
	vocab["isnand"] = 244;
	vocab["isnanf"] = 245;
	vocab["isprint"] = 246;
	vocab["ispunct"] = 247;
	vocab["isspace"] = 248;
	vocab["isupper"] = 249;
	vocab["isxdigit"] = 250;
	vocab["itime"] = 251;
	vocab["jrand48"] = 252;
	vocab["kill"] = 253;
	vocab["l3tol"] = 254;
	vocab["l64a"] = 255;
	vocab["lcong48"] = 256;
	vocab["ldaclose"] = 257;
	vocab["ldahread"] = 258;
	vocab["ldaopen"] = 259;
	vocab["ldclose"] = 260;
	vocab["ldexp"] = 261;
	vocab["ldfhread"] = 262;
	vocab["ldgetaux"] = 263;
	vocab["ldgetname"] = 264;
	vocab["ldgetpd"] = 265;
	vocab["ldlinit"] = 266;
	vocab["ldlitem"] = 267;
	vocab["ldlread"] = 268;
	vocab["ldlseek"] = 269;
	vocab["ldnlseek"] = 270;
	vocab["ldnrseek"] = 271;
	vocab["ldnshread"] = 272;
	vocab["ldnsseek"] = 273;
	vocab["ldohseek"] = 274;
	vocab["ldopen"] = 275;
	vocab["ldrseek"] = 276;
	vocab["ldshread"] = 277;
	vocab["ldsseek"] = 278;
	vocab["ldtbindex"] = 279;
	vocab["ldtbread"] = 280;
	vocab["ldtbseek"] = 281;
	vocab["lfind"] = 282;
	vocab["lgamma"] = 283;
	vocab["link"] = 284;
	vocab["listen"] = 285;
	vocab["localtime"] = 286;
	vocab["lockf"] = 287;
	vocab["log"] = 288;
	vocab["log10"] = 289;
	vocab["log1p"] = 290;
	vocab["logb"] = 291;
	vocab["logname"] = 292;
	vocab["longjump"] = 293;
	vocab["lrand48"] = 294;
	vocab["lsearch"] = 295;
	vocab["lseek"] = 296;
	vocab["lstat"] = 297;
	vocab["ltol3"] = 298;
	vocab["machine_info"] = 299;
	vocab["mallinfo"] = 300;
	vocab["malloc"] = 301;
	vocab["malloccheck"] = 302;
	vocab["mallopt"] = 303;
	vocab["memccpy"] = 304;
	vocab["memchr"] = 305;
	vocab["memcmp"] = 306;
	vocab["memcpy"] = 307;
	vocab["memset"] = 308;
	vocab["min"] = 309;
	vocab["mkdir"] = 310;
	vocab["mknod"] = 311;
	vocab["mktemp"] = 312;
	vocab["mmap"] = 313;
	vocab["mod"] = 314;
	vocab["moncontrol"] = 315;
	vocab["monitor"] = 316;
	vocab["monstartup"] = 317;
	vocab["mount"] = 318;
	vocab["mountr"] = 319;
	vocab["mrand48"] = 320;
	vocab["msgctl"] = 321;
	vocab["msgget"] = 322;
	vocab["msgop"] = 323;
	vocab["munmap"] = 324;
	vocab["nfsmount"] = 325;
	vocab["nfssv"] = 326;
	vocab["nice"] = 327;
	vocab["nlist"] = 328;
	vocab["not"] = 329;
	vocab["nrand48"] = 330;
	vocab["ntohl"] = 331;
	vocab["ntohs"] = 332;
	vocab["open"] = 333;
	vocab["opendir"] = 334;
	vocab["or"] = 335;
	vocab["pause"] = 336;
	vocab["pclose"] = 337;
	vocab["perror"] = 338;
	vocab["pipe"] = 339;
	vocab["plock"] = 340;
	vocab["poll"] = 341;
	vocab["popen"] = 342;
	vocab["pow"] = 343;
	vocab["print_unaligned_summary"] = 344;
	vocab["printf"] = 345;
	vocab["profil"] = 346;
	vocab["ptrace"] = 347;
	vocab["putchar"] = 348;
	vocab["putc"] = 349;
	vocab["putenv"] = 350;
	vocab["putmsg"] = 351;
	vocab["putpwent"] = 352;
	vocab["puts"] = 353;
	vocab["pututline"] = 354;
	vocab["putws"] = 355;
	vocab["qsort"] = 356;
	vocab["rand"] = 357;
	vocab["ranhash"] = 358;
	vocab["ranhashinit"] = 359;
	vocab["ranlookup"] = 360;
	vocab["rcmd"] = 361;
	vocab["read"] = 362;
	vocab["readdir"] = 363;
	vocab["readlink"] = 364;
	vocab["real"] = 365;
	vocab["realloc"] = 366;
	vocab["recv"] = 367;
	vocab["recvfro"] = 368;
	vocab["recvmsg"] = 369;
	vocab["regcmp"] = 370;
	vocab["regex"] = 371;
	vocab["return"] = 372;
	vocab["rewinddir"] = 373;
	vocab["rewind"] = 374;
	vocab["rexe"] = 375;
	vocab["rint"] = 376;
	vocab["rmdir"] = 377;
	vocab["rnusersr"] = 378;
	vocab["rresvport"] = 379;
	vocab["ruserok"] = 380;
	vocab["rusersr"] = 381;
	vocab["rwallr"] = 382;
	vocab["sbrk"] = 383;
	vocab["scalb"] = 384;
	vocab["scanf"] = 385;
	vocab["seed48"] = 386;
	vocab["seekdir"] = 387;
	vocab["select"] = 388;
	vocab["semctl"] = 389;
	vocab["semget"] = 390;
	vocab["semop"] = 391;
	vocab["send"] = 392;
	vocab["sendmsg"] = 393;
	vocab["sendto"] = 394;
	vocab["setbuf"] = 395;
	vocab["setgid"] = 396;
	vocab["setgrent"] = 397;
	vocab["sethostent"] = 398;
	vocab["sethostid"] = 399;
	vocab["sethostname"] = 400;
	vocab["setitimer"] = 401;
	vocab["setjmp"] = 402;
	vocab["setkey"] = 403;
	vocab["setmntent"] = 404;
	vocab["setnetent"] = 405;
	vocab["setpgrp"] = 406;
	vocab["setprotoent"] = 407;
	vocab["setpwent"] = 408;
	vocab["setservent"] = 409;
	vocab["setsockopt"] = 410;
	vocab["setuid"] = 411;
	vocab["setutent"] = 412;
	vocab["setvbuf"] = 413;
	vocab["shmat"] = 414;
	vocab["shmctl"] = 415;
	vocab["shmdt"] = 416;
	vocab["shmget"] = 417;
	vocab["shmop"] = 418;
	vocab["sighold"] = 419;
	vocab["sigignore"] = 420;
	vocab["sign"] = 421;
	vocab["signal"] = 422;
	vocab["sigpause"] = 423;
	vocab["sigrelse"] = 424;
	vocab["sigset"] = 425;
	vocab["sin"] = 426;
	vocab["sinh"] = 427;
	vocab["sizeof"] = 428;
	vocab["sleep"] = 429;
	vocab["sprintf"] = 430;
	vocab["sqrt"] = 431;
	vocab["srand"] = 432;
	vocab["srand48"] = 433;
	vocab["sscanf"] = 434;
	vocab["ssignal"] = 435;
	vocab["stat"] = 436;
	vocab["statf"] = 437;
	vocab["staux"] = 438;
	vocab["stcu"] = 439;
	vocab["stdio"] = 440;
	vocab["stdipc"] = 441;
	vocab["stfd"] = 442;
	vocab["stfe"] = 443;
	vocab["stime"] = 444;
	vocab["stio"] = 445;
	vocab["stprint"] = 446;
	vocab["strcat"] = 447;
	vocab["strchr"] = 448;
	vocab["strcmp"] = 449;
	vocab["strcpy"] = 450;
	vocab["strcsp"] = 451;
	vocab["strdup"] = 452;
	vocab["strlen"] = 453;
	vocab["strncat"] = 454;
	vocab["strncmp"] = 455;
	vocab["strncpy"] = 456;
	vocab["strpbrk"] = 457;
	vocab["strrchr"] = 458;
	vocab["strspn"] = 459;
	vocab["strtod"] = 460;
	vocab["strtok"] = 461;
	vocab["strtol"] = 462;
	vocab["swab"] = 463;
	vocab["switch"] = 464;
	vocab["symlink"] = 465;
	vocab["syn"] = 466;
	vocab["sys_errlist"] = 467;
	vocab["sys_nerr"] = 468;
	vocab["syscall"] = 469;
	vocab["sysfs"] = 470;
	vocab["sysmips"] = 471;
	vocab["system"] = 472;
	vocab["tan"] = 473;
	vocab["tanh"] = 474;
	vocab["tdelete"] = 475;
	vocab["telldir"] = 476;
	vocab["tempnam"] = 477;
	vocab["tfind"] = 478;
	vocab["tmpfile"] = 479;
	vocab["tmpnam"] = 480;
	vocab["truncate"] = 481;
	vocab["tsearch"] = 482;
	vocab["ttyname"] = 483;
	vocab["ttyslot"] = 484;
	vocab["twalk"] = 485;
	vocab["tzset"] = 486;
	vocab["uAbsorb"] = 487;
	vocab["uAccept"] = 488;
	vocab["uBeginUserCode"] = 489;
	vocab["uBind"] = 490;
	vocab["uC"] = 491;
	vocab["uClose"] = 492;
	vocab["uClusterVars"] = 493;
	vocab["uCocall"] = 494;
	vocab["uCondFront"] = 495;
	vocab["uCondition"] = 496;
	vocab["uCondLength"] = 497;
	vocab["uConnect"] = 498;
	vocab["uCreateCluster"] = 499;
	vocab["uDelay"] = 500;
	vocab["uDestroyCluster"] = 501;
	vocab["uDie"] = 502;
	vocab["uEmit"] = 503;
	vocab["uEndUserCode"] = 504;
	vocab["uEntry"] = 505;
	vocab["uError"] = 506;
	vocab["uFclose"] = 507;
	vocab["uFflush"] = 508;
	vocab["uFgetc"] = 509;
	vocab["uFgets"] = 510;
	vocab["uFopen"] = 511;
	vocab["uForward"] = 512;
	vocab["uFprintf"] = 513;
	vocab["uFputc"] = 514;
	vocab["uFputs"] = 515;
	vocab["uFree"] = 516;
	vocab["uFscanf"] = 517;
	vocab["uFsync"] = 518;
	vocab["uGetArgLen"] = 519;
	vocab["uGetc"] = 520;
	vocab["uGetchar"] = 521;
	vocab["uGetProcessors"] = 522;
	vocab["uGets"] = 523;
	vocab["uGetSpin"] = 524;
	vocab["uGetStackSize"] = 525;
	vocab["uGetTimeSlice"] = 526;
	vocab["uListen"] = 527;
	vocab["uLocal"] = 528;
	vocab["uLongCocall"] = 529;
	vocab["uLongCreateCluster"] = 530;
	vocab["uLongEmit"] = 531;
	vocab["uLseek"] = 532;
	vocab["uMalloc"] = 533;
	vocab["uMigrate"] = 534;
	vocab["uOpen"] = 535;
	vocab["uP"] = 536;
	vocab["uPrintf"] = 537;
	vocab["uPutc"] = 538;
	vocab["uPutchar"] = 539;
	vocab["uPuts"] = 540;
	vocab["uRead"] = 541;
	vocab["uRealloc"] = 542;
	vocab["uReceive"] = 543;
	vocab["uReply"] = 544;
	vocab["uResume"] = 545;
	vocab["uResumeDie"] = 546;
	vocab["uSaveFixed"] = 547;
	vocab["uSaveFloat"] = 548;
	vocab["uScanf"] = 549;
	vocab["uSend"] = 550;
	vocab["uSetArgLen"] = 551;
	vocab["uSetProcessors"] = 552;
	vocab["uSetSpin"] = 553;
	vocab["uSetTimeSlice"] = 554;
	vocab["uStart"] = 555;
	vocab["uStderr"] = 556;
	vocab["uStdin"] = 557;
	vocab["uStdout"] = 558;
	vocab["uSuspend"] = 559;
	vocab["uSuspendDie"] = 560;
	vocab["uSystem"] = 561;
	vocab["uThisCluster"] = 562;
	vocab["uThisCoroutine"] = 563;
	vocab["uThisTask"] = 564;
	vocab["uUngetc"] = 565;
	vocab["uV"] = 566;
	vocab["uVerify"] = 567;
	vocab["uWait"] = 568;
	vocab["uWaitUntil"] = 569;
	vocab["uWrite"] = 570;
	vocab["uYield"] = 571;
	vocab["uadmin"] = 572;
	vocab["ulimit"] = 573;
	vocab["umask"] = 574;
	vocab["umount"] = 575;
	vocab["unaligned"] = 576;
	vocab["uname"] = 577;
	vocab["ungetc"] = 578;
	vocab["unlink"] = 579;
	vocab["ustat"] = 580;
	vocab["utime"] = 581;
	vocab["utmpname"] = 582;
	vocab["vfprintf"] = 583;
	vocab["vprintf"] = 584;
	vocab["vsprintf"] = 585;
	vocab["wait"] = 586;
	vocab["wait2"] = 587;
	vocab["while"] = 588;
	vocab["write"] = 589;
	vocab["xdr"] = 590;
	wasdefn = 0;
}
{
	if (length(vocab[$1]) > 0) 
	    {
	    if(version == 2)
		printf("%s\n", $1);
	    else
		printf("%d\n", vocab[$1]);
	    if ( $1 ~ /C_DEFUN/ )
		wasdefn = 1;
	    }
	else if ( $1 ~ /_FUN[0-9][0-9]*_/ )
	    {
	    if (wasdefn == 0)
		if(version == 2)
		    printf("FUN\n");
		else
		    printf("591\n");
	    wasdefn = 0;
	    }
	    
}
